/**
 * 
 */
package org.rollinitiative.d20web.charactersheet.client;

import com.google.gwt.user.client.rpc.IsSerializable;

/**
 * @author jmccormi
 * 
 */
public class CombatData implements IsSerializable
{

    int initiative;

    int nAttacks;

    int[] meleeAttack;

    int[] rangedAttack;

    int[] grappleAttack;

    int acRegular;
    
    boolean isFlatFooted;
    
    int acTouch;

    /**
     * @return the initiative
     */
    public int getInitiative()
    {
        return initiative;
    }


    /**
     * @param initiative the initiative to set
     */
    public void setInitiative(int initiative)
    {
        this.initiative = initiative;
    }

    public int getNumberAttacks()
    {
        return nAttacks;
    }
    
    public void setNumberAttacks(int nAttacks)
    {
        this.nAttacks = nAttacks;
    }

    /**
     * @return the meleeAttack
     */
    public int[] getMeleeAttack()
    {
        return meleeAttack;
    }


    /**
     * @param meleeAttack the meleeAttack to set
     */
    public void setMeleeAttack(int[] meleeAttack)
    {
        this.meleeAttack = meleeAttack;
    }


    /**
     * @return the rangedAttack
     */
    public int[] getRangedAttack()
    {
        return rangedAttack;
    }


    /**
     * @param rangedAttack the rangedAttack to set
     */
    public void setRangedAttack(int[] rangedAttack)
    {
        this.rangedAttack = rangedAttack;
    }


    /**
     * @return the grappleAttack
     */
    public int[] getGrappleAttack()
    {
        return grappleAttack;
    }


    /**
     * @param grappleAttack the grappleAttack to set
     */
    public void setGrappleAttack(int[] grappleAttack)
    {
        this.grappleAttack = grappleAttack;
    }


    /**
     * @return the acRegular
     */
    public int getRegularAC()
    {
        return acRegular;
    }


    /**
     * @param acRegular the acRegular to set
     */
    public void setRegularAC(int acRegular)
    {
        this.acRegular = acRegular;
    }





    /**
     * @return true if the character is currently in a Flat Footed state
     */
    public boolean isFlatFooted()
    {
        return isFlatFooted;
    }


    /**
     * @param isFlatFooted Flat Footed condition flag
     */
    public void setFlatFooted(boolean isFlatFooted)
    {
        this.isFlatFooted = isFlatFooted;
    }


    /**
     * @return the acTouch
     */
    public int getTouchAC()
    {
        return acTouch;
    }


    /**
     * @param acTouch the acTouch to set
     */
    public void setTouchAC(int acTouch)
    {
        this.acTouch = acTouch;
    }

   
}
